import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import App from './App.vue'

import  echarts  from  'echarts'
Vue.prototype.$echarts  =  echarts
    // 引入路由
import router from "./router.js" // import router 的router 一定要小写， 不要写成Router, 否则报 can't match的报错

import scroll from 'vue-seamless-scroll'
Vue.use(scroll)

Vue.use(ElementUI)

new Vue({
        el: '#app',
        router, // 注入到根实例中
        render: h => h(App)
    },

)
